package com.lianwei.pojo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
 *@ClassName UserRegisterRequest
 *@Description 用户注册信息DTO
 *@Author Kuiwen.Sun
 *@Date 2022/1/11 14:54
 *@Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户注册实体类")
public class UserRegisterRequest {
    @ApiModelProperty(value = "昵称",name = "username",required = true,dataType = "String")
    private String username;
    @ApiModelProperty(value = "密码",name = "password",required = true,dataType = "String")
    private String password;
    @ApiModelProperty(value = "邮箱(账号)",name = "mail",required = true,dataType = "String")
    private String mail;
    @ApiModelProperty(value = "年龄",name = "age",required = true,dataType = "int")
    private Integer age;
    @ApiModelProperty(value = "性别",name = "gender",required = true,dataType = "int")
    private Integer gender;
    @ApiModelProperty(value = "验证码",name = "captcha",required = true,dataType = "String")
    private String captcha;
}
